package com.udp2;

import java.util.ArrayList;

import com.udp.entity.MapEntity;

public class TestData {
	public static void main(String[] args) {
		
		String s888="30820113800107810100830103a58201023081ff8102007ba20c8004127ea94681044860189aa781ea3039a237800a4e6f727468626f756e64810101a2263024800101810205dc820102a3180406"
				+ "000000000000"
				+ "0406"
				+ "3f74185c0000"
				+ "0406"
				+ "0000000000003038a236800945617374626f756e64810102a2263024800102810205dc820102a3180406"
				+ "000000000000"
				+ "0406"
				+ "1a0cbf880000"
				+ "0406"
				+ "0000000000003039a237800a536f757468626f756e64810103a2263024800103810205dc820102a3180406"
				+ "000000000000"
				+ "0406"
				+ "c211e6fa0000"
				+ "0406"
				+ "0000000000003038a236800957657374626f756e64810104a2263024800104810205dc820102a31804060000000000000406f84d140f0000040600000000000087023500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000[MapEntity{lat=310290758, lon=1214257306, id=123, laneNumber=0, laneWidth=0, laneAttributes=0, nodeList=null, name='null'}, MapEntity{lat=310290758, lon=1214257306, id=1, laneNumber=1, laneWidth=1500, laneAttributes=2, nodeList=[PositionOffset{x=0, y=0, z=0}, PositionOffset{x=16244, y=6236, z=0}, PositionOffset{x=0, y=0, z=0}], name='4e6f727468626f756e64'}, MapEntity{lat=310290758, lon=1214257306, id=2, laneNumber=2, laneWidth=1500, laneAttributes=2, nodeList=[PositionOffset{x=0, y=0, z=0}, PositionOffset{x=6668, y=-16504, z=0}, PositionOffset{x=0, y=0, z=0}], name='45617374626f756e64'}, MapEntity{lat=310290758, lon=1214257306, id=3, laneNumber=3, laneWidth=1500, laneAttributes=2, nodeList=[PositionOffset{x=0, y=0, z=0}, PositionOffset{x=-15855, y=-6406, z=0}, PositionOffset{x=0, y=0, z=0}], name='45617374626f756e64'}, MapEntity{lat=310290758, lon=1214257306, id=4, laneNumber=4, laneWidth=1500, laneAttributes=2, nodeList=[PositionOffset{x=0, y=0, z=0}, PositionOffset{x=-1971, y=5135, z=0}, PositionOffset{x=0, y=0, z=0}], name='57657374626f756e64'}]";
    String sorigial="30820113800107810100830103A58201023081FF8102007BA20C8004127EA94681044860189AA781EA3039A237800A4E6F727468626F756E64810101A2263024800101810205DC820102A318040600000000000004063F74185C000004060000000000003038A236800945617374626F756E64810102A2263024800102810205DC820102A318040600000000000004061A0CBF88000004060000000000003039A237800A536F757468626F756E64810103A2263024800103810205DC820102A31804060000000000000406C211E6FA000004060000000000003038A236800957657374626F756E64810104A2263024800104810205DC820102A31804060000000000000406F84D140F0000040600000000000087023500";
		
		 ArrayList<MapEntity> list=DataHandler.getMap(sorigial);
		 for (MapEntity mapEntity : list) {
			 System.out.println(mapEntity.toString());
			
		}
	}

}
